<template>
  <div class="jktjb" v-loading="isLoading">
    <p style="text-align: right" v-if="false">
      <el-button type="primary" plain size="small">Lis数据调入</el-button>
      <el-button type="primary" plain size="small">用药数据调入</el-button>
      <el-button type="primary" plain size="small">一体机数据调入</el-button>
      <el-button type="primary" plain size="small" @click="get_info(info.idNo)"
        >最近一次体检数据调入</el-button
      >
    </p>
    <p class="top">
      <span style="font-weight: 700; font-size: 16px; color: #000">{{
        info.residentInfoName
      }}</span>
      <span style="display: inline-block; margin: 0 20px"
        >证件号：{{ info.idNo }}</span
      >
      <span>填表人：{{ info.createUserId }}</span>
    </p>
    <p>
      <span style="font-size: 14px; color: red"
        >表格中带*号项目为基本公共卫生服务规范必填项目，带
      </span>
      <el-tag type="success" size="small" style="margin-right: 5px">老</el-tag>
      <el-tag type="success" size="small" style="margin-right: 5px">糖</el-tag>
      <span style="font-size: 14px; color: red"
        >标签的项目为疾控考核要求老年人或糖尿病患者必填项目</span
      >
    </p>
    <div class="box">
      <span>体检日期：</span>
      <el-date-picker
        v-model="info.visitDate"
        align="right"
        type="date"
        placeholder="选择体检日期"
        :picker-options="pickerOptions"
        size="small"
      >
      </el-date-picker>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>体检医生：</span>
      <el-input
        placeholder=""
        v-model="info.checkDoctor"
        style="width: 220px"
        size="small"
      >
        <!-- <template slot="append">℃</template> -->
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <p style="font-weight: 900; font-size: 20px; color: #000">症状</p>
    <div class="box">
      <span></span>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
      <el-checkbox-group v-model="info.symptom">
        <el-checkbox label="1">无症状</el-checkbox>
        <el-checkbox label="2">头疼</el-checkbox>
        <el-checkbox label="3">头晕</el-checkbox>
        <el-checkbox label="4">心悸</el-checkbox>
        <el-checkbox label="5">胸闷</el-checkbox>
        <el-checkbox label="6">胸痛</el-checkbox>
        <el-checkbox label="7">慢性咳嗽</el-checkbox>
        <el-checkbox label="8">咳痰</el-checkbox>
        <el-checkbox label="9">呼吸困难</el-checkbox>
        <el-checkbox label="10">多饮</el-checkbox>
        <el-checkbox label="11">多尿</el-checkbox>
        <el-checkbox label="12">体重下降</el-checkbox>
        <el-checkbox label="13">乏力</el-checkbox>
        <el-checkbox label="14">关节肿痛</el-checkbox>
        <el-checkbox label="15">视力模糊</el-checkbox>
        <el-checkbox label="16">手脚麻木</el-checkbox>
        <el-checkbox label="17">尿急</el-checkbox>
        <el-checkbox label="18">尿痛</el-checkbox>
        <el-checkbox label="19">便秘</el-checkbox>
        <el-checkbox label="20">腹泻</el-checkbox>
        <el-checkbox label="21">恶心呕吐</el-checkbox>
        <el-checkbox label="22">眼花</el-checkbox>
        <el-checkbox label="23">耳鸣</el-checkbox>
        <el-checkbox label="24">乳房胀痛</el-checkbox>
        <el-checkbox label="25">其他</el-checkbox>
        <el-input
          size="small"
          style="width: 150px; margin-left: 10px"
          placeholder="请输入其他症状"
          v-model="info.symptomValue"
        ></el-input>
      </el-checkbox-group>
    </div>
    <p style="font-weight: 900; font-size: 20px; color: #000">一般情况</p>
    <div class="box">
      <span>体温：</span>
      <el-input
        placeholder="请输入体温"
        v-model="info.temperature"
        style="width: 300px"
        size="small"
      >
        <template slot="append">℃</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>脉率：</span>
      <el-input
        placeholder="请输入脉率"
        v-model="info.pulseRate"
        style="width: 300px"
        size="small"
      >
        <template slot="append">次/分钟</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>呼吸频率：</span>
      <el-input
        placeholder="请输入呼吸频率"
        v-model="info.respiratoryRate"
        style="width: 300px"
        size="small"
      >
        <template slot="append">次/分钟</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>血压</span>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
      <div>
        左侧：
        <el-input
          placeholder="请输入收缩压"
          v-model="info.leftConstriction"
          style="width: 300px"
          size="small"
        >
          <template slot="append">mmHg</template>
        </el-input>
        <span style="display: inline-block; margin: 0 20px">/</span>
        <el-input
          placeholder="请输入舒张压"
          v-model="info.leftDiastolic"
          style="width: 300px"
          size="small"
        >
          <template slot="append">mmHg</template>
        </el-input>
      </div>
      <div style="margin-top: 15px">
        右侧：
        <el-input
          placeholder="请输入收缩压"
          v-model="info.rightConstriction"
          style="width: 300px"
          size="small"
        >
          <template slot="append">mmHg</template>
        </el-input>
        <span style="display: inline-block; margin: 0 20px">/</span>
        <el-input
          placeholder="请输入舒张压"
          v-model="info.rightDiastolic"
          style="width: 300px"
          size="small"
        >
          <template slot="append">mmHg</template>
        </el-input>
      </div>
    </div>
    <div class="box">
      <span>身高：</span>
      <el-input
        placeholder="请输入身高"
        v-model="info.height"
        style="width: 300px"
        size="small"
      >
        <template slot="append">cm</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>体重：</span>
      <el-input
        placeholder="请输入体重"
        v-model="info.weight"
        style="width: 300px"
        size="small"
      >
        <template slot="append">kg</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>腰围：</span>
      <el-input
        placeholder="请输入腰围"
        v-model="info.waist"
        style="width: 300px"
        size="small"
      >
        <template slot="append">cm</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>体质指数（BMI）：</span>
      <el-input
        placeholder="请输入体质"
        v-model="info.bmi"
        style="width: 300px"
        size="small"
      >
        <template slot="append">kg/㎡</template>
      </el-input>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
        <el-tag type="success" size="small" style="margin-right: 5px"
          >糖</el-tag
        >
      </span>
    </div>
    <el-divider content-position="center"
      >以下四项只有65岁以上老年人才填录</el-divider
    >
    <div class="box">
      <span>老年人健康状态自我评估：</span>
      <el-radio-group v-model="info.elderlySelf">
        <el-radio label="1">满意</el-radio>
        <el-radio label="2">基本满意</el-radio>
        <el-radio label="3">说不清楚</el-radio>
        <el-radio label="4">不太满意</el-radio>
        <el-radio label="5">不满意</el-radio>
      </el-radio-group>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>老年人生活自理能力自我评估：</span>
      <el-radio-group v-model="info.elderlySelfCare">
        <el-radio label="1">可自理(0~3分)</el-radio>
        <el-radio label="2">轻度依赖(4~8分)</el-radio>
        <el-radio label="3">中度依赖(9~18分)</el-radio>
        <el-radio label="4">不能自理(19分及以上)</el-radio>
      </el-radio-group>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>老年人认知功能：</span>
      <el-radio-group v-model="info.elderlyCognition">
        <el-radio label="1">初筛阴性</el-radio>
        <el-radio label="2">初筛阳性</el-radio>
        <el-input
          placeholder="请输入简易智力状态检查分数，0~30分，整数"
          v-model="info.elderlyCognitionValue"
          style="width: 300px"
          size="small"
        >
        </el-input>
      </el-radio-group>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
      </span>
    </div>
    <div class="box">
      <span>老年人情感状态：</span>
      <el-radio-group v-model="info.elderlyEmotion">
        <el-radio label="1">初筛阴性</el-radio>
        <el-radio label="2">初筛阳性</el-radio>
        <el-input
          placeholder="请输入老年人抑郁评分状态检查分数，输入范围0~30，整数"
          v-model="info.elderlyEmotionValue"
          style="width: 300px"
          size="small"
        >
          <!-- <template slot="append">kg/㎡</template> -->
        </el-input>
      </el-radio-group>
      <span style="float: right">
        <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        >
      </span>
    </div>
    <p style="font-weight: 900; font-size: 20px; color: #000">生活方式</p>

    <div
      v-for="(item_健康体检, index_健康体检) in info.healthyLiftItems"
      :key="'a' + index_健康体检"
    >
      <div class="box">
        <span>体育锻炼：</span>
        <i
          class="el-icon-delete"
          style="float: right"
          @click="info.healthyLiftItems.splice(index_健康体检, 1)"
        ></i>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <el-radio-group v-model="item_健康体检.sportsRate">
          <el-radio label="1">每天</el-radio>
          <el-radio label="2">每周一次以上</el-radio>
          <el-radio label="3">偶尔</el-radio>
          <el-radio label="4">不锻炼</el-radio>
        </el-radio-group>
        <div v-if="item_健康体检.sportsRate != '不锻炼'">
          <p>
            每次锻炼时间：
            <el-input
              placeholder="请输入每次锻炼时间"
              v-model="item_健康体检.sportsMinute"
              style="width: 300px"
              size="small"
            >
              <template slot="append">分钟</template>
            </el-input>
          </p>
          <p>
            坚持锻炼时间：
            <el-input
              placeholder="请输入坚持锻炼时间"
              v-model="item_健康体检.sportsYear"
              style="width: 300px"
              size="small"
            >
              <template slot="append">年</template>
            </el-input>
          </p>
          <p>
            锻炼方式：
            <el-input
              placeholder="请输入锻炼方式"
              v-model="item_健康体检.sportsMode"
              style="width: 300px"
              size="small"
            >
              <!-- <template slot="append">年</template> -->
            </el-input>
          </p>
        </div>
      </div>
      <div class="box">
        <span>饮食习惯：</span>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <el-checkbox-group v-model="item_健康体检.diet">
          <el-checkbox label="1">荤素均衡</el-checkbox>
          <el-checkbox label="2">荤食为主</el-checkbox>
          <el-checkbox label="3">素食为主</el-checkbox>
          <el-checkbox label="4">嗜盐</el-checkbox>
          <el-checkbox label="5">嗜油</el-checkbox>
          <el-checkbox label="6">嗜糖</el-checkbox>
        </el-checkbox-group>
      </div>
      <div class="box">
        <span>吸烟情况：</span>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <el-radio-group v-model="item_健康体检.smoke">
          <el-radio label="1">从不吸烟</el-radio>
          <el-radio label="2">已戒烟</el-radio>
          <el-radio label="3">吸烟</el-radio>
        </el-radio-group>
        <div v-if="item_健康体检.smoke != '从不吸烟'">
          <p>
            日吸烟量平均：
            <el-input
              placeholder="请输入日吸烟量平均"
              v-model="item_健康体检.smokeNum"
              style="width: 300px"
              size="small"
            >
              <template slot="append">支</template>
            </el-input>
          </p>
          <p>
            开始吸烟年龄：
            <el-input
              placeholder="请输入开始吸烟年龄"
              v-model="item_健康体检.smokeStart"
              style="width: 300px"
              size="small"
            >
              <template slot="append">岁</template>
            </el-input>
          </p>
          <p>
            戒烟年龄：
            <el-input
              placeholder="请输入戒烟年龄"
              v-model="item_健康体检.smokeRing"
              style="width: 300px"
              size="small"
            >
              <template slot="append">岁</template>
            </el-input>
          </p>
        </div>
      </div>
      <div class="box">
        <span>饮酒情况：</span>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <el-radio-group v-model="item_健康体检.drink">
          <el-radio label="1">从不</el-radio>
          <el-radio label="2">偶尔</el-radio>
          <el-radio label="3">经常</el-radio>
          <el-radio label="4">每天</el-radio>
        </el-radio-group>
        <div v-if="item_健康体检.drink != '从不'">
          <p>
            日饮酒量平均(折合白酒)：
            <el-input
              placeholder="请输入日饮酒量平均"
              v-model="item_健康体检.drinkNum"
              style="width: 300px"
              size="small"
            >
              <template slot="append">两</template>
            </el-input>
          </p>
          <p>
            开始饮酒年龄：
            <el-input
              placeholder="请输入开始饮酒年龄"
              v-model="item_健康体检.drinkRingAge"
              style="width: 300px"
              size="small"
            >
              <template slot="append">岁</template>
            </el-input>
          </p>
          <p>
            是否戒酒：
            <el-radio-group v-model="item_健康体检.drinkRing">
              <el-radio label="1">未戒酒</el-radio>
              <el-radio label="2">已戒酒</el-radio>
            </el-radio-group>
          </p>
          <p v-if="item_健康体检.drinkRing == '2'">
            戒酒年龄：
            <el-input
              placeholder="请输入戒酒年龄"
              v-model="item_健康体检.drinkRingAge"
              style="width: 300px"
              size="small"
            >
              <template slot="append">岁</template>
            </el-input>
          </p>
          <p>
            一年内是否曾醉酒：
            <el-radio-group v-model="item_健康体检.drinkDrunk">
              <el-radio label="1" value="1">是</el-radio>
              <el-radio label="2" value="2">否</el-radio>
            </el-radio-group>
          </p>
          <p>
            饮酒种类：
            <el-checkbox-group v-model="item_健康体检.drinkType">
              <el-checkbox label="1">白酒</el-checkbox>
              <el-checkbox label="2">啤酒</el-checkbox>
              <el-checkbox label="3">红酒</el-checkbox>
              <el-checkbox label="4">黄酒</el-checkbox>
              <el-checkbox label="5">其他</el-checkbox>
              <el-input
                v-model="item_健康体检.drinkTypeValue"
                size="small"
                style="width: 150px; margin-left: 10px"
                placeholder="请输入其他饮酒种类"
              ></el-input>
            </el-checkbox-group>
          </p>
          <p style="color: #f19332">
            温馨提示：饮酒情况的“酒”特指白酒，白酒1两折合葡萄酒4两、黄酒半斤、啤酒1瓶、果酒4两。
          </p>
        </div>
      </div>
      <p style="font-weight: 900; font-size: 20px; color: #000">
        职业病危害因素接触史
      </p>
      <div class="box">
        <span>职业病危害因素接触史：</span>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <div>
          <p>
            工种：
            <el-input
              placeholder="请输入工种"
              v-model="item_健康体检.industrialDiseasesType"
              style="width: 300px"
              size="small"
            >
            </el-input>
            从业时间：
            <el-input
              placeholder="请输入从业时间"
              v-model="item_健康体检.industrialYear"
              style="width: 300px"
              size="small"
            >
              <template slot="append">年</template>
            </el-input>
          </p>
          <el-divider content-position="left">毒物种类</el-divider>
          <p>
            粉尘：
            <el-input
              placeholder="请至少输入一种毒物种类"
              v-model="item_健康体检.industrialDust"
              style="width: 300px"
              size="small"
            >
            </el-input>
            防护措施：
            <el-radio-group v-model="item_健康体检.industrialDustProtect">
              <el-radio label="1" value="1">无</el-radio>
              <el-radio label="2" value="2">有</el-radio>
            </el-radio-group>
            <el-input
              placeholder="请输入防护措施名称"
              v-model="item_健康体检.industrialDustProtectValue"
              style="width: 150px; margin-left: 10px"
              size="small"
            >
            </el-input>
          </p>
          <p>
            放射物质：
            <el-input
              placeholder="请至少输入一种毒物种类"
              v-model="item_健康体检.industrialRadioactivity"
              style="width: 300px"
              size="small"
            >
            </el-input>
            防护措施：
            <el-radio-group
              v-model="item_健康体检.industrialRadioactivityProtect"
            >
              <el-radio label="1" value="1">无</el-radio>
              <el-radio label="2" value="2">有</el-radio>
            </el-radio-group>
            <el-input
              placeholder="请输入防护措施名称"
              v-model="item_健康体检.industrialRadioactivityProtectValue"
              style="width: 150px; margin-left: 10px"
              size="small"
            >
            </el-input>
          </p>
          <p>
            物理因素：
            <el-input
              placeholder="请至少输入一种毒物种类"
              v-model="item_健康体检.industrialPhysics"
              style="width: 300px"
              size="small"
            >
            </el-input>
            防护措施：
            <el-radio-group v-model="item_健康体检.industrialPhysicsProtect">
              <el-radio label="1" value="1">无</el-radio>
              <el-radio label="2" value="2">有</el-radio>
            </el-radio-group>
            <el-input
              placeholder="请输入防护措施名称"
              v-model="item_健康体检.industrialPhysicsProtectValue"
              style="width: 150px; margin-left: 10px"
              size="small"
            >
            </el-input>
          </p>
          <p>
            化学物质：
            <el-input
              placeholder="请至少输入一种毒物种类"
              v-model="item_健康体检.industrialChemistry"
              style="width: 300px"
              size="small"
            >
            </el-input>
            防护措施：
            <el-radio-group v-model="item_健康体检.industrialChemistryProtect">
              <el-radio label="1" value="1">无</el-radio>
              <el-radio label="2" value="2">有</el-radio>
            </el-radio-group>
            <el-input
              placeholder="请输入防护措施名称"
              v-model="item_健康体检.industrialChemistryProtectValue"
              style="width: 150px; margin-left: 10px"
              size="small"
            >
            </el-input>
          </p>
          <p>
            其他：
            <el-input
              placeholder="请至少输入一种毒物种类"
              v-model="item_健康体检.industrialOther"
              style="width: 300px"
              size="small"
            >
            </el-input>
            防护措施：
            <el-radio-group v-model="item_健康体检.industrialOtherProtect">
              <el-radio label="1" value="1">无</el-radio>
              <el-radio label="2" value="2">有</el-radio>
            </el-radio-group>
            <el-input
              placeholder="请输入防护措施名称"
              v-model="item_健康体检.industrialOtherProtectValue"
              style="width: 150px; margin-left: 10px"
              size="small"
            >
            </el-input>
          </p>
        </div>
      </div>
    </div>
    <div>
      <p style="text-align: center">
        <el-button
          type="primary"
          plain
          size="small"
          style="width: 100%"
          @click="
            info.healthyLiftItems.push({
              sportsRate: '',
              diet: [],
              smoke: '',
              drink: '',
              industrialDiseases: '',
              sportsMode: '',
              smokeNum: '',
              smokeStart: '',
              smokeRing: '',
              drinkRing: '',
              drinkRingAge: '',
              drinkStart: '',
              drinkDrunk: '',
              drinkType: [],
              drinkTypeValue: '',
              industrialDiseasesType: '',
              industrialYear: '',
              industrialDust: '',
              industrialDustProtect: '',
              industrialDustProtectValue: '',
              industrialRadioactivity: '',
              industrialRadioactivityProtect: '',
              industrialRadioactivityProtectValue: '',
              industrialPhysics: '',
              industrialPhysicsProtect: '',
              industrialPhysicsProtectValue: '',
              industrialChemistry: '',
              industrialChemistryProtect: '',
              industrialChemistryProtectValue: '',
              industrialOther: '',
              industrialOtherProtect: '',
              industrialOtherProtectValue: '',
              sportsMinute: '',
              sportsYear: '',
              drinkNum: '',
            })
          "
          ><i class="el-icon-plus"></i> 新增生活方式</el-button
        >
      </p>
    </div>

    <p style="font-weight: 900; font-size: 20px; color: #000">脏器功能</p>
    <div
      v-for="(item_脏器功能, index_脏器功能) in info.healthyVisceraItems"
      :key="'b' + index_脏器功能"
    >
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">口腔</span></el-divider
        >
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          <i
            class="el-icon-delete"
            style="float: right"
            @click="info.healthyVisceraItems.splice(index_脏器功能, 1)"
          ></i>
          口唇：
          <el-radio-group v-model="item_脏器功能.oralCavityLips">
            <el-radio label="1" value="1">红润</el-radio>
            <el-radio label="2" value="2">苍白</el-radio>
            <el-radio label="3" value="3">发绀</el-radio>
            <el-radio label="4" value="4">皲裂</el-radio>
            <el-radio label="5" value="5">疱疹</el-radio>
          </el-radio-group>
        </p>
        <p>
          齿列：
          <el-checkbox-group
            v-model="item_脏器功能.oralCavityDentition"
            style="display: inline-block"
          >
            <el-checkbox label="1">正常</el-checkbox>
            <el-checkbox label="2">缺齿</el-checkbox>
            <el-checkbox label="3">龋齿</el-checkbox>
            <el-checkbox label="4">义齿(假牙)</el-checkbox>
          </el-checkbox-group>
        </p>
        <p>
          咽部：
          <el-radio-group v-model="item_脏器功能.oralCavityPharynx">
            <el-radio label="无充血" value="1">无充血</el-radio>
            <el-radio label="充血" value="2">充血</el-radio>
            <el-radio label="淋巴滤泡增生" value="3">淋巴滤泡增生</el-radio>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">视力</span></el-divider
        >
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          左眼：
          <el-radio-group v-model="item_脏器功能.leftVisionGrade">
            <el-radio label="填入数值">填入数值</el-radio>
            <el-input
              v-model="item_脏器功能.leftVision"
              size="small"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入左眼视力"
            ></el-input>
            <el-radio label="盲（一级）">盲（一级）</el-radio>
            <el-radio label="盲（二级）">盲（二级）</el-radio>
            <el-radio label="低视力（三级）">低视力（三级）</el-radio>
            <el-radio label="低视力（四级）">低视力（四级）</el-radio>
          </el-radio-group>
        </p>
        <p>
          右眼：
          <el-radio-group v-model="item_脏器功能.rightVisionGrade">
            <el-radio label="填入数值">填入数值</el-radio>
            <el-input
              size="small"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入右眼视力"
              v-model="item_脏器功能.rightVision"
            ></el-input>
            <el-radio label="盲（一级）">盲（一级）</el-radio>
            <el-radio label="盲（二级）">盲（二级）</el-radio>
            <el-radio label="低视力（三级）">低视力（三级）</el-radio>
            <el-radio label="低视力（四级）">低视力（四级）</el-radio>
          </el-radio-group>
        </p>
        <p>
          矫正视力：
          <el-input
            placeholder="输入范围:3.5~5.3"
            v-model="item_脏器功能.leftVisionCorrect"
            style="width: 300px"
            size="small"
          >
            <template slot="prepend">左眼</template>
          </el-input>
          <el-input
            placeholder="输入范围:3.5~5.3"
            v-model="item_脏器功能.rightVisionCorrect"
            style="width: 300px; margin-left: 15px"
            size="small"
          >
            <template slot="prepend">右眼</template>
          </el-input>
        </p>
        <p style="color: #f19332">
          温馨提示：裸眼视力与矫正视力必填其一，左右眼都如此
        </p>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyVisceraItems.push({
            oralCavityLips: '',
            oralCavityDentition: [],
            oralCavityPharynx: '',
            leftVisionGrade: '',
            rightVisionGrade: '',
            hearing: '',
            exercise: '',
            hypodontiaLeftUp: '',
            hypodontiaRightUp: '',
            hypodontiaLeftDown: '',
            hypodontiaRightDown: '',
            decayLeftUp: '',
            decayRightUp: '',
            decayLeftDown: '',
            decayRightDown: '',
            falseToothLeftUp: '',
            falseToothRightUp: '',
            falseToothLeftDown: '',
            falseToothRightDown: '',
            oralCavityDentitionFalseToothAll: '',
            leftVision: '',
            rightVision: '',
            leftVisionCorrect: '',
            rightVisionCorrect: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增脏器功能</el-button
      >
    </p>
    <p style="font-weight: 900; font-size: 20px; color: #000">查体</p>
    <div
      v-for="(
        item_健康体检检查, index_健康体检检查
      ) in info.healthyCheckbodyItems"
      :key="'c' + index_健康体检检查"
    >
      <div class="box">
        <p>
          <i
            class="el-icon-delete"
            style="float: right"
            @click="info.healthyCheckbodyItems.splice(index_健康体检检查, 1)"
          ></i>
          眼底：
          <el-radio-group v-model="item_健康体检检查.fundusOculi">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.fundusOculiAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请具体描述异常结果"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          皮肤：
          <el-radio-group v-model="item_健康体检检查.skin">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">潮红</el-radio>
            <el-radio label="3" value="3">苍白</el-radio>
            <el-radio label="4" value="4">发绀</el-radio>
            <el-radio label="5" value="5">黄染</el-radio>
            <el-radio label="6" value="6">色素沉着</el-radio>
            <el-radio label="7" value="7">其他</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.skinValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请描述其他情况"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          巩膜：
          <el-radio-group v-model="item_健康体检检查.sclera">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">黄染</el-radio>
            <el-radio label="3" value="3">充血</el-radio>
            <el-radio label="4" value="4">其他</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.scleraValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请描述其他情况"
              v-if="item_健康体检检查.scleraValue == '4'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          淋巴结：
          <el-radio-group v-model="item_健康体检检查.lymph">
            <el-radio label="1" value="1">未触及</el-radio>
            <el-radio label="2" value="2">锁骨上</el-radio>
            <el-radio label="3" value="3">腋窝</el-radio>
            <el-radio label="4" value="4">其他</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.lymphValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请描述其他情况"
              v-if="item_健康体检检查.lymphValue == '4'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">肺</span></el-divider
        >
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          桶状胸：
          <el-radio-group v-model="item_健康体检检查.lungBarrel">
            <el-radio label="1" value="1">否</el-radio>
            <el-radio label="2" value="2">是</el-radio>
          </el-radio-group>
        </p>
        <p>
          呼吸音：
          <el-radio-group v-model="item_健康体检检查.lungBreath">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.lungBreathAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请描述异常情况"
              v-if="item_健康体检检查.lungBreathAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          罗音：
          <el-radio-group v-model="item_健康体检检查.lungRale">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">干罗音</el-radio>
            <el-radio label="3" value="3">湿罗音</el-radio>
            <el-radio label="4" value="4">其他</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.lungRaleValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请描述其他情况"
              v-if="item_健康体检检查.lungRale == '4'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">心脏</span></el-divider
        >
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          心率：
          <el-input
            placeholder="请输入脉率"
            v-model="item_健康体检检查.heartRate"
            style="width: 300px"
            size="small"
          >
            <template slot="append">次/分钟</template>
          </el-input>
        </p>
        <p>
          心律：
          <el-radio-group v-model="item_健康体检检查.heartRhythm">
            <el-radio label="1" value="1">齐</el-radio>
            <el-radio label="2" value="2">不齐</el-radio>
            <el-radio label="3" value="3">绝对不齐</el-radio>
          </el-radio-group>
        </p>
        <p>
          杂音：
          <el-radio-group v-model="item_健康体检检查.heartNoise">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.heartNoiseAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.heartNoiseAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">腹部</span></el-divider
        >
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          压痛：
          <el-radio-group v-model="item_健康体检检查.abdomenTenderness">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.abdomenTendernessAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.abdomenTendernessAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          包块：
          <el-radio-group v-model="item_健康体检检查.abdomenBag">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.abdomenBagAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.abdomenBagAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          肝大：
          <el-radio-group v-model="item_健康体检检查.abdomenLiver">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.abdomenLiverAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.abdomenLiverAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          脾大：
          <el-radio-group v-model="item_健康体检检查.abdomenSpleen">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.abdomenSpleenAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.abdomenSpleenAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          移动性浊音：
          <el-radio-group v-model="item_健康体检检查.abdomenShiftingDullness">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.abdomenShiftingDullnessAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.abdomenShiftingDullnessAbnormal == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          下肢水肿：
          <el-radio-group v-model="item_健康体检检查.lowerExtremity">
            <el-radio label="1" value="1">无</el-radio>
            <el-radio label="2" value="2">单侧</el-radio>
            <el-radio label="3" value="3">双侧不对称</el-radio>
            <el-radio label="4" value="4">双侧对称</el-radio>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <!-- <el-tag type="success" size="small" style="margin-right: 5px"
          >老</el-tag
        > -->
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          足背动脉搏动：
          <el-radio-group v-model="item_健康体检检查.arteriaeDorsalisPedis">
            <el-radio label="1" value="1">未触及</el-radio>
            <el-radio label="2" value="2">触及双侧对称</el-radio>
            <el-radio label="3" value="3">触及左侧弱或消失</el-radio>
            <el-radio label="4" value="4">触及右侧弱或消失</el-radio>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          肛门指诊：
          <el-radio-group v-model="item_健康体检检查.dre">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">触动</el-radio>
            <el-radio label="3" value="3">包块</el-radio>
            <el-radio label="4" value="4">前列腺异常</el-radio>
            <el-radio label="5" value="5">其他</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.dreValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.dre == '5'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          乳腺：
          <el-radio-group v-model="item_健康体检检查.breast">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">乳房切除</el-radio>
            <el-radio label="3" value="3">异常泌乳</el-radio>
            <el-radio label="4" value="4">乳腺包块</el-radio>
            <el-radio label="5" value="5">其他</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.breastValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.breast == '5'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">妇科</span></el-divider
        >
        <p>
          外阴：
          <el-radio-group v-model="item_健康体检检查.gynaecologyVulva">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.gynaecologyVulvaAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.gynaecologyVulva == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          阴道：
          <el-radio-group v-model="item_健康体检检查.gynaecologyVagina">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.gynaecologyVaginaAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.gynaecologyVagina == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          宫颈：
          <el-radio-group v-model="item_健康体检检查.gynaecologyCervical">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.gynaecologyCervicalAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.gynaecologyCervical == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          宫体：
          <el-radio-group v-model="item_健康体检检查.gynaecologyPalace">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.gynaecologyPalaceAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.gynaecologyPalace == '2'"
            ></el-input>
          </el-radio-group>
        </p>
        <p>
          附件：
          <el-radio-group v-model="item_健康体检检查.gynaecologyEnclosure">
            <el-radio label="1" value="1">未见异常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_健康体检检查.gynaecologyEnclosureAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_健康体检检查.gynaecologyEnclosure == '异常'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          <el-divider content-position="left"
            ><span style="font-weight: 900">其他</span></el-divider
          >
          <el-input
            style="width: 45%"
            type="textarea"
            :autosize="{ minRows: 3, maxRows: 3 }"
            placeholder="请输入内容"
            v-model="item_健康体检检查.other"
          >
          </el-input>
        </p>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyCheckbodyItems.push({
            fundusOculi: '',
            fundusOculiAbnormal: '',
            skin: '',
            skinValue: '',
            sclera: '',
            scleraValue: '',
            lymph: '',
            lymphValue: '',
            lungBarrel: '',
            lungBreath: '',
            lungBreathAbnormal: '',
            lungRale: '',
            lungRaleValue: '',
            heartRate: '',
            heartRhythm: '',
            heartNoise: '',
            heartNoiseAbnormal: '',
            abdomenTenderness: '',
            abdomenTendernessAbnormal: '',
            abdomenBag: '',
            abdomenBagAbnormal: '',
            abdomenLiver: '',
            abdomenLiverAbnormal: '',
            abdomenSpleen: '',
            abdomenSpleenAbnormal: '',
            abdomenShiftingDullness: '',
            abdomenShiftingDullnessAbnormal: '',
            lowerExtremity: '',
            arteriaeDorsalisPedis: '',
            dre: '',
            dreValue: '',
            breast: '',
            breastValue: '',
            gynaecologyVulva: '',
            gynaecologyVulvaAbnormal: '',
            gynaecologyVagina: '',
            gynaecologyVaginaAbnormal: '',
            gynaecologyCervical: '',
            gynaecologyCervicalAbnormal: '',
            gynaecologyPalace: '',
            gynaecologyPalaceAbnormal: '',
            gynaecologyEnclosure: '',
            gynaecologyEnclosureAbnormal: '',
            other: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增查体</el-button
      >
    </p>
    <p style="font-weight: 900; font-size: 20px; color: #000">辅助检查</p>
    <div
      v-for="(item_辅助检查, index_辅助检查) in info.healthyAuxiliaryItems"
      :key="'d' + index_辅助检查"
    >
      <div class="box">
        <i
          class="el-icon-delete"
          style="float: right"
          @click="info.healthyAuxiliaryItems.splice(index_辅助检查, 1)"
        ></i>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
        </span>
        <el-divider content-position="left"
          ><span style="font-weight: 900">血常规</span></el-divider
        >
        <p>
          血红蛋白：
          <el-input
            placeholder="输入范围:0~500,3位小数"
            v-model="item_辅助检查.bloodHemoglobin"
            style="width: 300px"
            size="small"
          >
            <template slot="append">g/L</template>
          </el-input>
        </p>
        <p>
          白细胞：
          <el-input
            placeholder="输入范围:0~500,3位小数"
            v-model="item_辅助检查.bloodHemameba"
            style="width: 300px"
            size="small"
          >
            <template slot="append">×109/L</template>
          </el-input>
        </p>
        <p>
          血小板：
          <el-input
            placeholder="输入范围:0~9999,3位小数"
            v-model="item_辅助检查.bloodPlatelet"
            style="width: 300px"
            size="small"
          >
            <template slot="append">×109/L</template>
          </el-input>
        </p>
        <p>
          其他：
          <el-input
            placeholder="请输入"
            v-model="item_辅助检查.bloodOther"
            style="width: 300px"
            size="small"
          >
            <!-- <template slot="append">×109/L</template> -->
          </el-input>
        </p>
      </div>
      <div class="box">
        <span style="float: right"> </span>
        <el-divider content-position="left"
          ><span style="font-weight: 900">尿常规</span></el-divider
        >
        <p>
          尿蛋白：
          <el-input
            placeholder="请输入"
            v-model="item_辅助检查.urineProtein"
            style="width: 300px"
            size="small"
          >
            <!-- <template slot="append">×109/L</template> -->
          </el-input>
        </p>
        <p>
          尿糖：
          <el-input
            placeholder="请输入"
            v-model="item_辅助检查.urineSugar"
            style="width: 300px"
            size="small"
          >
            <!-- <template slot="append">×109/L</template> -->
          </el-input>
        </p>
        <p>
          尿酮体：
          <el-input
            placeholder="请输入"
            v-model="item_辅助检查.urineKetone"
            style="width: 300px"
            size="small"
          >
            <!-- <template slot="append">×109/L</template> -->
          </el-input>
        </p>
        <p>
          尿潜血：
          <el-input
            placeholder="请输入"
            v-model="item_辅助检查.urineOccultBlood"
            style="width: 300px"
            size="small"
          >
            <!-- <template slot="append">×109/L</template> -->
          </el-input>
        </p>
        <p>
          其他：
          <el-input
            placeholder="请输入"
            v-model="item_辅助检查.urineOther"
            style="width: 300px"
            size="small"
          >
            <!-- <template slot="append">×109/L</template> -->
          </el-input>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>

        <p>
          空腹血糖：
          <el-input
            placeholder="输入范围：0~50，支持3位小数"
            v-model="item_辅助检查.limosisSugar"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
      </div>
      <div class="box">
        <p>
          心电图：
          <el-radio-group v-model="item_辅助检查.electrocardiogram">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_辅助检查.electrocardiogramAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_辅助检查.心电图 == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          尿微量白蛋白：
          <el-input
            placeholder="输入范围:0~500，2位小数"
            v-model="item_辅助检查.urineMicroalbumin"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mg/dL</template>
          </el-input>
        </p>
      </div>
      <div class="box">
        <p>
          大便潜血：
          <el-radio-group v-model="item_辅助检查.shitOccultBlood">
            <el-radio label="1" value="1">阴性</el-radio>
            <el-radio label="2" value="2">阳性</el-radio>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          糖化血红蛋白：
          <el-input
            placeholder="输入范围:0~100，2位小数"
            v-model="item_辅助检查.glycosylatedHemoglobin"
            style="width: 300px"
            size="small"
          >
            <template slot="append">%</template>
          </el-input>
        </p>
        <p style="color: #f19332">
          温馨提示：有能力的机构请尽力开展此项目的检查
        </p>
      </div>
      <div class="box">
        <p>
          乙型肝炎表面抗原：
          <el-radio-group v-model="item_辅助检查.hepatitisBAntigen">
            <el-radio label="1" value="1">阴性</el-radio>
            <el-radio label="2" value="2">阳性</el-radio>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">肝功能</span></el-divider
        >
        <p>
          血清谷丙转氨酶：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.liverSgpt"
            style="width: 300px"
            size="small"
          >
            <template slot="append">U/L</template>
          </el-input>
        </p>
        <p>
          血清谷草转氨酶：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.liverSgot"
            style="width: 300px"
            size="small"
          >
            <template slot="append">U/L</template>
          </el-input>
        </p>
        <p>
          白蛋白：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.liverAlbumin"
            style="width: 300px"
            size="small"
          >
            <template slot="append">g/L</template>
          </el-input>
        </p>
        <p>
          总胆红素：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.liverBilirubin"
            style="width: 300px"
            size="small"
          >
            <template slot="append">μmol/L</template>
          </el-input>
        </p>
        <p>
          结合胆红素：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.liverConjugatedBilirubin"
            style="width: 300px"
            size="small"
          >
            <template slot="append">μmol/L</template>
          </el-input>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">肾功能</span></el-divider
        >
        <p>
          血清肌酐：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.kidneyScr"
            style="width: 300px"
            size="small"
          >
            <template slot="append">U/L</template>
          </el-input>
        </p>
        <p>
          血尿素：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.kidneyBloodUrea"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
        <p>
          血钾浓度：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.kidneyPotassium"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
        <p>
          血钠浓度：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.kidneySodium"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
      </div>
      <div class="box">
        <el-divider content-position="left"
          ><span style="font-weight: 900">血脂</span></el-divider
        >
        <p>
          总胆固醇：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.bloodFatCholesterol"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
        <p>
          甘油三酯：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.bloodFatTriglyceride"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
        <p>
          血清低密度脂蛋白胆固醇：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.bloodFatLowDensity"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
        <p>
          血清高密度脂蛋白胆固醇：
          <el-input
            placeholder="请输入......"
            v-model="item_辅助检查.bloodFatHighDensity"
            style="width: 300px"
            size="small"
          >
            <template slot="append">mmol/L</template>
          </el-input>
        </p>
      </div>
      <div class="box">
        <p>
          胸部X线片：
          <el-radio-group v-model="item_辅助检查.chestX">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_辅助检查.chestXAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_辅助检查.chestX == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          B超：
          <el-radio-group v-model="item_辅助检查.bUltrasonicAbdomen">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_辅助检查.bUltrasonicAbdomenAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_辅助检查.bUltrasonicAbdomen == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          宫颈涂片：
          <el-radio-group v-model="item_辅助检查.cervicalSmear">
            <el-radio label="1" value="1">正常</el-radio>
            <el-radio label="2" value="2">异常</el-radio>
            <el-input
              size="small"
              v-model="item_辅助检查.cervicalSmearAbnormal"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_辅助检查.cervicalSmear == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <p>
          其他：
          <el-input
            size="small"
            v-model="item_辅助检查.bUltrasonicOtherAbnormal"
            style="width: 300px; margin-right: 10px"
            placeholder="请输入......"
          ></el-input>
        </p>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyAuxiliaryItems.push({
            bloodOther: '',
            urineProtein: '',
            urineSugar: '',
            urineKetone: '',
            urineOccultBlood: '',
            urineOther: '',
            limosisSugar: '',
            electrocardiogram: '',
            electrocardiogramAbnormal: '',
            shitOccultBlood: '',
            hepatitisBAntigen: '',
            chestX: '',
            chestXAbnormal: '',
            bUltrasonicAbdomen: '',
            bUltrasonicAbdomenAbnormal: '',
            bUltrasonicOther: '',
            bUltrasonicOtherName: '',
            bUltrasonicOtherAbnormal: '',
            cervicalSmear: '',
            cervicalSmearAbnormal: '',
            other: '',
            bloodHemoglobin: '',
            bloodHemameba: '',
            bloodPlatelet: '',
            urineMicroalbumin: '',
            glycosylatedHemoglobin: '',
            liverSgpt: '',
            liverSgot: '',
            liverAlbumin: '',
            liverBilirubin: '',
            liverConjugatedBilirubin: '',
            kidneyScr: '',
            kidneyBloodUrea: '',
            kidneyPotassium: '',
            kidneySodium: '',
            bloodFatCholesterol: '',
            bloodFatTriglyceride: '',
            bloodFatLowDensity: '',
            bloodFatHighDensity: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增辅助检查</el-button
      >
    </p>

    <p style="font-weight: 900; font-size: 20px; color: #000">
      现存主要健康问题
    </p>
    <div
      v-for="(
        item_主要健康问题, index_主要健康问题
      ) in info.healthyHealthProblemsItems"
      :key="'e' + index_主要健康问题"
    >
      <div class="box">
        <i
          class="el-icon-delete"
          style="float: right"
          @click="info.healthyHealthProblemsItems.splice(index_主要健康问题, 1)"
        ></i>
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          脑血管疾病：
          <el-checkbox-group
            v-model="item_主要健康问题.cerebrovascular"
            style="display: inline-block"
          >
            <el-checkbox label="1">未发现</el-checkbox>
            <el-checkbox label="2">缺血性脑卒中</el-checkbox>
            <el-checkbox label="3">脑出血</el-checkbox>
            <el-checkbox label="4">蛛网膜下腔出血</el-checkbox>
            <el-checkbox label="5">短暂性脑缺血发作</el-checkbox>
            <el-checkbox label="6">其他</el-checkbox>
            <el-input
              size="small"
              v-model="item_主要健康问题.cerebrovascularValue"
              style="width: 150px; margin-right: 10px; margin-left: 10px"
              placeholder="请输入......"
            ></el-input>
          </el-checkbox-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          肾脏疾病：
          <el-checkbox-group
            v-model="item_主要健康问题.kidneyDisease"
            style="display: inline-block"
          >
            <el-checkbox label="1">未发现</el-checkbox>
            <el-checkbox label="2">糖尿病肾病</el-checkbox>
            <el-checkbox label="3">肾功能衰竭</el-checkbox>
            <el-checkbox label="4">急性肾炎</el-checkbox>
            <el-checkbox label="5">慢性肾炎</el-checkbox>
            <el-checkbox label="6">其他</el-checkbox>
            <el-input
              size="small"
              v-model="item_主要健康问题.kidneyDiseaseValue"
              style="width: 150px; margin-right: 10px; margin-left: 10px"
              placeholder="请输入......"
            ></el-input>
          </el-checkbox-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          心脏疾病：
          <el-checkbox-group
            v-model="item_主要健康问题.heartDisease"
            style="display: inline-block"
          >
            <el-checkbox label="1">未发现</el-checkbox>
            <el-checkbox label="2">心肌梗死</el-checkbox>
            <el-checkbox label="3">心绞痛</el-checkbox>
            <el-checkbox label="4">冠状动脉血运重建</el-checkbox>
            <el-checkbox label="5">充血性心力衰竭</el-checkbox>
            <el-checkbox label="6">心前区疼痛</el-checkbox>
            <el-checkbox label="7">其他</el-checkbox>
            <el-input
              size="small"
              v-model="item_主要健康问题.heartDiseaseValue"
              style="width: 150px; margin-right: 10px; margin-left: 10px"
              placeholder="请输入......"
            ></el-input>
          </el-checkbox-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          血管疾病：
          <el-checkbox-group
            v-model="item_主要健康问题.vascularDisease"
            style="display: inline-block"
          >
            <el-checkbox label="1">未发现</el-checkbox>
            <el-checkbox label="2">夹层动脉瘤</el-checkbox>
            <el-checkbox label="3">动脉闭塞性疾病</el-checkbox>
            <el-checkbox label="4">其他</el-checkbox>
            <el-input
              size="small"
              v-model="item_主要健康问题.vascularDiseaseValue"
              style="width: 150px; margin-right: 10px; margin-left: 10px"
              placeholder="请输入......"
            ></el-input>
          </el-checkbox-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          眼部疾病：
          <el-checkbox-group
            v-model="item_主要健康问题.ocularDisease"
            style="display: inline-block"
          >
            <el-checkbox label="1">未发现</el-checkbox>
            <el-checkbox label="2">视网膜出血或渗出</el-checkbox>
            <el-checkbox label="3">视乳头水肿</el-checkbox>
            <el-checkbox label="4">白内障</el-checkbox>
            <el-checkbox label="5">其他</el-checkbox>
            <el-input
              size="small"
              v-model="item_主要健康问题.ocularDiseaseValue"
              style="width: 150px; margin-right: 10px; margin-left: 10px"
              placeholder="请输入......"
            ></el-input>
          </el-checkbox-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          神经系统疾病：
          <el-radio-group v-model="item_主要健康问题.nervousDiseases">
            <el-radio label="1" value="1">未发现</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_主要健康问题.nervousDiseasesValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_主要健康问题.nervousDiseases == '有'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
      <div class="box">
        <span style="float: right">
          <el-tag type="success" size="small" style="margin-right: 5px"
            >老</el-tag
          >
          <el-tag type="success" size="small" style="margin-right: 5px"
            >糖</el-tag
          >
        </span>
        <p>
          其他系统病症：
          <el-radio-group v-model="item_主要健康问题.otherDiseases">
            <el-radio label="1" value="1">未发现</el-radio>
            <el-radio label="2" value="2">有</el-radio>
            <el-input
              size="small"
              v-model="item_主要健康问题.otherDiseasesValue"
              style="width: 150px; margin-right: 10px"
              placeholder="请输入......"
              v-if="item_主要健康问题.otherDiseases == '2'"
            ></el-input>
          </el-radio-group>
        </p>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyHealthProblemsItems.push({
            parentId: '',
            cerebrovascular: [],
            cerebrovascularValue: '',
            kidneyDisease: [],
            kidneyDiseaseValue: '',
            heartDisease: [],
            heartDiseaseValue: '',
            vascularDisease: [],
            vascularDiseaseValue: '',
            ocularDisease: [],
            ocularDiseaseValue: '',
            nervousDiseases: '',
            nervousDiseasesValue: '',
            otherDiseases: '',
            otherDiseasesValue: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增主要健康问题</el-button
      >
    </p>

    <p style="font-weight: 900; font-size: 20px; color: #000">住院治疗情况</p>
    <div
      v-for="(
        item_住院治疗情况, index_住院治疗情况
      ) in info.healthyHospitalizationsItems"
      :key="'f' + index_住院治疗情况"
    >
      <div class="box">
        <div>
          <i
            class="el-icon-delete"
            style="float: right"
            @click="
              info.healthyHospitalizationsItems.splice(index_住院治疗情况, 1)
            "
          ></i>
          住院史：
          <el-radio-group v-model="item_住院治疗情况.hospitalType">
            <el-radio label="1" value="1">住院史</el-radio>
            <el-radio label="2" value="2">家庭病床史</el-radio>
          </el-radio-group>
          <div v-if="item_住院治疗情况.hospitalType == '1'">
            <el-input
              placeholder="请输入..."
              v-model="item_住院治疗情况.enterTime"
              style="width: 300px"
              size="small"
            >
              <template slot="prepend">入院日期</template>
            </el-input>
            <el-input
              placeholder="请输入..."
              v-model="item_住院治疗情况.outTime"
              style="width: 300px"
              size="small"
            >
              <template slot="prepend">出院日期</template>
            </el-input>
            <el-input
              placeholder="请输入..."
              v-model="item_住院治疗情况.reason"
              style="width: 300px; margin-left: 15px"
              size="small"
            >
              <template slot="prepend">原 因</template>
            </el-input>
            <p style="margin-top: 15px">
              <el-input
                placeholder="请输入..."
                v-model="item_住院治疗情况.hospitalName"
                style="width: 300px"
                size="small"
              >
                <template slot="prepend">医疗机构名称</template>
              </el-input>
              <el-input
                placeholder="请输入..."
                v-model="item_住院治疗情况.caseNo"
                style="width: 300px; margin-left: 15px"
                size="small"
              >
                <template slot="prepend">病案号</template>
              </el-input>
            </p>
          </div>
        </div>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyHospitalizationsItems.push({
            hospitalType: '',
            enterTime: '',
            outTime: '',
            reason: '',
            hospitalName: '',
            caseNo: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增主要健康问题</el-button
      >
    </p>
    <p style="font-weight: 900; font-size: 20px; color: #000">主要用药情况</p>
    <div>
      <div
        v-for="(item, index) in info.healthyMedicationsItems"
        :key="'g' + index"
      >
        <div>
          <i
            class="el-icon-delete"
            style="float: right"
            @click="info.healthyMedicationsItems.splice(index, 1)"
          ></i>
          <el-autocomplete
            style="width: 60%"
            size="small"
            class="inline-input"
            v-model="item.drugName"
            :fetch-suggestions="querySearch"
            placeholder="请输入内容"
            @select="handleSelect"
          >
            <template slot="prepend">药物名称</template>
          </el-autocomplete>

          <div style="margin-top: 10px">
            <el-input
              placeholder="请输入..."
              v-model="item.drugUsage"
              style="width: 60%"
              size="small"
            >
              <!-- <template slot="prepend">用法每日</template> -->
              <template slot="append">药物使用方法</template>
            </el-input>
          </div>
          <div style="margin-top: 10px">
            <el-input
              placeholder="请输入..."
              v-model="item.dosage"
              style="width: 60%"
              size="small"
            >
              <template slot="append">合适剂量</template>
            </el-input>
          </div>
          <p style="margin-top: 15px">
            <span class="lable_box" style="margin-left: 10px"
              >降压药服药依从性</span
            >
            <el-select
              v-model="item.compliance"
              style="width: 200px"
              placeholder="请选择"
              size="small"
            >
              <el-option label="规律服药（80%以上）" value="1"></el-option>
              <el-option label="间断服药（10%-80%）" value="2"></el-option>
              <el-option label="很少或不服药（<10%）" value="3"></el-option>
            </el-select>
          </p>
          <el-divider></el-divider>
        </div>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyMedicationsItems.push({
            drugName: '',
            drugUsage: '',
            dosage: '',
            medicationTime: '',
            compliance: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增用药情况</el-button
      >
    </p>
    <p style="font-weight: 900; font-size: 20px; color: #000">
      非免疫规划预防接种史
    </p>
    <div
      v-for="(
        item_预防接种史, index_预防接种史
      ) in info.healthyNonImmunizationsItems"
      :key="'h' + index_预防接种史"
    >
      <div class="box">
        <div>
          <i
            class="el-icon-delete"
            style="float: right"
            @click="
              info.healthyNonImmunizationsItems.splice(index_预防接种史, 1)
            "
          ></i>
          <el-input
            placeholder="请输入..."
            v-model="item_预防接种史.vaccineName"
            style="width: 300px"
            size="small"
          >
            <template slot="prepend">名 称</template>
          </el-input>
          <el-input
            placeholder="请输入..."
            v-model="item_预防接种史.inoculationDate"
            style="width: 300px; margin-left: 15px"
            size="small"
          >
            <template slot="prepend">接种日期</template>
          </el-input>
          <p style="margin-top: 15px">
            <el-input
              placeholder="请输入..."
              v-model="item_预防接种史.inoculationHospital"
              style="width: 300px"
              size="small"
            >
              <template slot="prepend">接种机构</template>
            </el-input>
          </p>
        </div>
      </div>
    </div>
    <p style="text-align: center">
      <el-button
        type="primary"
        plain
        size="small"
        style="width: 100%"
        @click="
          info.healthyNonImmunizationsItems.push({
            vaccineName: '',
            inoculationDate: '',
            inoculationHospital: '',
          })
        "
        ><i class="el-icon-plus"></i> 新增非免疫规划预防接种史</el-button
      >
    </p>

    <p style="font-weight: 900; font-size: 20px; color: #000">健康评价</p>
    <div class="box">
      <div>
        健康评价：
        <el-radio-group v-model="info.assessment">
          <el-radio label="体检无异常" value="1">体检无异常</el-radio>
          <el-radio label="有异常" value="2">有异常</el-radio>
        </el-radio-group>
        <div v-if="info.assessment == '有异常'">
          <p style="margin-top: 10px">
            异常1：
            <el-input
              type="textarea"
              :rows="4"
              style="width: 45%; vertical-align: top"
              placeholder="请输入......"
              v-model="info.assessmentOne"
            >
            </el-input>
          </p>
          <p style="margin-top: 10px">
            异常2：
            <el-input
              type="textarea"
              :rows="4"
              style="width: 45%; vertical-align: top"
              placeholder="请输入......"
              v-model="info.assessmentTwo"
            >
            </el-input>
          </p>
          <p style="margin-top: 10px">
            异常3：
            <el-input
              type="textarea"
              :rows="4"
              style="width: 45%; vertical-align: top"
              placeholder="请输入......"
              v-model="info.assessmentThree"
            >
            </el-input>
          </p>
          <p style="margin-top: 10px">
            异常4：
            <el-input
              type="textarea"
              :rows="4"
              style="width: 45%; vertical-align: top"
              placeholder="请输入......"
              v-model="info.assessmentFour"
            >
            </el-input>
          </p>
        </div>
      </div>
    </div>
    <p style="font-weight: 900; font-size: 20px; color: #000">健康指导</p>
    <div class="box">
      <p>
        健康指导：
        <el-checkbox-group
          v-model="info.guidance"
          style="display: inline-block"
        >
          <el-checkbox label="1">纳入慢性病患者健康管理</el-checkbox>
          <el-checkbox label="2">建议复查</el-checkbox>
          <el-checkbox label="3">建议转诊</el-checkbox>
        </el-checkbox-group>
      </p>
    </div>
    <div class="box">
      <p>
        危险因素控制：
        <el-checkbox-group
          v-model="info.hazardsControl"
          style="display: inline-block"
        >
          <el-checkbox label="1">戒烟</el-checkbox>
          <el-checkbox label="2">健康饮酒</el-checkbox>
          <el-checkbox label="3">饮食</el-checkbox>
          <el-checkbox label="4">锻炼</el-checkbox>
          <el-checkbox label="5">减体重</el-checkbox>
          <el-checkbox label="6">建议接种疫苗</el-checkbox>
          <el-checkbox label="7">其他</el-checkbox>
          <el-input
            size="small"
            v-model="info.hazardsOther"
            style="width: 150px; margin-right: 10px; margin-left: 10px"
            placeholder="请输入......"
          ></el-input>
        </el-checkbox-group>
      </p>
    </div>
    <div class="box" v-if="false">
      <span>随访照片：</span>
      <el-button
        icon="el-icon-upload2"
        type="primary"
        style="background-color: #fff; color: rgb(46, 160, 254)"
        size="small"
        plain
        >本地上传文件</el-button
      >
      <el-button
        icon="el-icon-picture-outline"
        type="primary"
        style="background-color: #fff; color: rgb(46, 160, 254)"
        size="small"
        plain
        >加载手机图片</el-button
      >
      <p style="margin-top: 10px">
        扫描二维码，在手机端点击"上传"图片，在手机端上传后，点击上方"加载手机照片"按钮，即可同步到电脑端
      </p>
      <div>
        <img
          style="width: 100px"
          src="http://8.218.107.5:9992/media/base/zhengjian/qrcode/16863931874Q68253F.png"
          alt=""
        />
        <img
          style="width: 100px; margin-left: 20px"
          src="http://8.218.107.5:9992/media/base/zhengjian/qrcode/16863931874Q68253F.png"
          alt=""
        />
      </div>
    </div>
    <div class="box">
      <p>
        体检完成情况：
        <el-radio-group v-model="info.formProcess">
          <el-radio label="已完成" value="1">已完成</el-radio>
          <el-radio label="未完成" value="2">未完成</el-radio>
        </el-radio-group>
      </p>
    </div>
  </div>
</template>
  
  <script>
export default {
  data() {
    return {
      info: {
        hospitalId: window.localStorage.getItem("hospitalId"),
        idNo: localStorage.getItem("idCard"),
        residentName: window.localStorage.getItem("residentName"),
        createUserId: window.localStorage.getItem("doctorName"),
        symptom: [],
        guidance: [],
        hazardsControl: [],
        healthyLiftItems: [], //健康体检
        healthyMedicationsItems: [],
        healthyVisceraItems:[],
        healthyCheckbodyItems:[],
        healthyAuxiliaryItems:[],
        healthyHealthProblemsItems:[],
        healthyHospitalizationsItems:[],
        healthyMedicationsItems:[],
        healthyNonImmunizationsItems:[]
      },
      options: [
        {
          value: "测试",
          label: "测试",
        },
      ],
      pickerOptions: {
        shortcuts: [
          {
            text: "今天",
            onClick(picker) {
              picker.$emit("pick", new Date());
            },
          },
        ],
      },
      value2: "",
      isLoading: false,
      restaurants: [],
      queryString: "",
    };
  },
  mounted() {
    this.set_form();
  },
  methods: {
    btn_ok() {
      var url = this.info.id ? "/healthyMain/update" : "/healthyMain/Insert";
      this.info.symptom = this.info.symptom.toString();
      this.info.guidance = this.info.guidance.toString();
      this.info.hazardsControl = this.info.hazardsControl.toString();
      for (var i in this.info.healthyLiftItems) {
        this.info.healthyLiftItems[i].diet =
          this.info.healthyLiftItems[i].diet.toString();
        this.info.healthyLiftItems[i].drinkType =
          this.info.healthyLiftItems[i].drinkType.toString();
      }
      for (var i in this.info.healthyVisceraItems) {
        this.info.healthyVisceraItems[i].oralCavityDentition =
          this.info.healthyVisceraItems[i].oralCavityDentition.toString();
      }
      for (var i in this.info.healthyHealthProblemsItems) {
        this.info.healthyHealthProblemsItems[i].cerebrovascular =
          this.info.healthyHealthProblemsItems[i].cerebrovascular.toString();
        this.info.healthyHealthProblemsItems[i].kidneyDisease =
          this.info.healthyHealthProblemsItems[i].kidneyDisease.toString();
        this.info.healthyHealthProblemsItems[i].heartDisease =
          this.info.healthyHealthProblemsItems[i].heartDisease.toString();
        this.info.healthyHealthProblemsItems[i].vascularDisease =
          this.info.healthyHealthProblemsItems[i].vascularDisease.toString();
        this.info.healthyHealthProblemsItems[i].ocularDisease =
          this.info.healthyHealthProblemsItems[i].ocularDisease.toString();
      }
      var date = new Date();
      this.info.id
        ? (this.info.updatetime = date)
        : (this.info.createtime = date);
      this.$post(url, this.info).then((res) => {
        if (res.code == 400) {
          this.$message({
            message: res.message,
            type: "error",
          });
          return;
        }
        this.$message({
          message: "操作成功",
          type: "success",
        });
      });
    },
    getInfo(item) {
      this.isLoading = true;
      this.getOne(item.id);
    },
    getOne(id) {
      this.$post("/healthyMain/getOne?id=" + id).then((res) => {
        this.info = res.data;
        this.info.symptom = this.info.symptom
          ? this.info.symptom.split(",")
          : [];

        this.info.drinkType = this.info.drinkType
          ? this.info.drinkType.split(",")
          : [];
        this.info.oralCavityDentition = this.info.oralCavityDentition
          ? this.info.oralCavityDentition.split(",")
          : [];
        this.info.heartDisease = this.info.heartDisease
          ? this.info.heartDisease.split(",")
          : [];
        this.info.vascularDisease = this.info.vascularDisease
          ? this.info.vascularDisease.split(",")
          : [];
        this.info.ocularDisease = this.info.ocularDisease
          ? this.info.ocularDisease.split(",")
          : [];
        this.info.guidance = this.info.guidance
          ? this.info.guidance.split(",")
          : [];
        this.info.hazardsControl = this.info.hazardsControl
          ? this.info.hazardsControl.split(",")
          : [];
        for (var i in this.info.healthyLiftItems) {
          this.info.healthyLiftItems[i].diet = this.info.healthyLiftItems[i]
            .diet
            ? this.info.healthyLiftItems[i].diet.split(",")
            : [];
          this.info.healthyLiftItems[i].drinkType = this.info.healthyLiftItems[
            i
          ].drinkType
            ? this.info.healthyLiftItems[i].drinkType.split(",")
            : [];
        }
        for (var i in this.info.healthyVisceraItems) {
          this.info.healthyVisceraItems[i].oralCavityDentition = this.info
            .healthyVisceraItems[i].oralCavityDentition
            ? this.info.healthyVisceraItems[i].oralCavityDentition.split(",")
            : [];
        }
        for (var i in this.info.healthyHealthProblemsItems) {
          this.info.healthyHealthProblemsItems[i].cerebrovascular = this.info
            .healthyHealthProblemsItems[i].cerebrovascular
            ? this.info.healthyHealthProblemsItems[i].cerebrovascular.split(",")
            : [];
          this.info.healthyHealthProblemsItems[i].kidneyDisease = this.info
            .healthyHealthProblemsItems[i].kidneyDisease
            ? this.info.healthyHealthProblemsItems[i].kidneyDisease.split(",")
            : [];
          this.info.healthyHealthProblemsItems[i].heartDisease = this.info
            .healthyHealthProblemsItems[i].heartDisease
            ? this.info.healthyHealthProblemsItems[i].heartDisease.split(",")
            : [];
          this.info.healthyHealthProblemsItems[i].vascularDisease = this.info
            .healthyHealthProblemsItems[i].vascularDisease
            ? this.info.healthyHealthProblemsItems[i].vascularDisease.split(",")
            : [];
          this.info.healthyHealthProblemsItems[i].ocularDisease = this.info
            .healthyHealthProblemsItems[i].ocularDisease
            ? this.info.healthyHealthProblemsItems[i].ocularDisease.split(",")
            : [];
        }
        this.isLoading = false;
      });
    },
    clear_info() {
      this.info = {
        hospitalId: window.localStorage.getItem("hospitalId"),
        idNo: localStorage.getItem("idCard"),
        residentName: window.localStorage.getItem("residentName"),
        createUserId: window.localStorage.getItem("doctorName"),
        symptom: [],
        guidance: [],
        hazardsControl: [],
        healthyLiftItems: [], //健康体检
        healthyMedicationsItems: [],
        healthyVisceraItems:[],
        healthyCheckbodyItems:[],
        healthyAuxiliaryItems:[],
        healthyHealthProblemsItems:[],
        healthyHospitalizationsItems:[],
        healthyMedicationsItems:[],
        healthyNonImmunizationsItems:[]
      };
    },
    get_info(idNo) {
      this.isLoading = true;
      var body = {
        idnumber: idNo,
        tempdate: this.time(new Date()),
      };
      this.$post(
        "http://60.161.199.55:9616/mc_wc/v1/DYHealthRecord/showMachineMonitorData",
        body
      ).then((res) => {
        this.isLoading = false;
        this.$notify.error({
          title: "提示",
          message: res.entity,
        });
      });
    },
    time(val) {
      if (val == null || val == "") {
        return "";
      } else {
        let d = new Date(val); // val 为表格内取到的后台时间
        let month =
          d.getMonth() + 1 < 10 ? "0" + (d.getMonth() + 1) : d.getMonth() + 1;
        let day = d.getDate() < 10 ? "0" + d.getDate() : d.getDate();
        let hours = d.getHours() < 10 ? "0" + d.getHours() : d.getHours();
        let min = d.getMinutes() < 10 ? "0" + d.getMinutes() : d.getMinutes();
        let sec = d.getSeconds() < 10 ? "0" + d.getSeconds() : d.getSeconds();
        let times = d.getFullYear() + "-" + month + "-" + day;
        // +
        // " " +
        // hours +
        // ":" +
        // min +
        // ":" +
        // sec;
        return times;
      }
    },
    set_form() {
      this.isLoading = true;
      var d = new Date();
      d.setMonth(d.getMonth() + 3);
      var yy1 = d.getFullYear();
      var mm1 = d.getMonth() + 1; //因为getMonth（）返回值是 0（一月） 到 11（十二月） 之间的一个整数。所以要给其加1
      var dd1 = d.getDate();
      if (mm1 < 10) {
        mm1 = "0" + mm1;
      }
      if (dd1 < 10) {
        dd1 = "0" + dd1;
      }
      this.info.visitDate = new Date();
      this.info.nextDate = yy1 + "-" + mm1 + "-" + dd1;
      this.info.executorName = window.localStorage.getItem("doctorName");
      this.info.unitName = window.localStorage.getItem("hospitalName");
      this.isLoading = false;
    },
    querySearch(queryString, cb) {
      if (!queryString) {
        return;
      }
      this.queryString = queryString;
      this.getYao();
      setTimeout((_) => {
        cb(this.restaurants);
      }, 500);

      // 调用 callback 返回建议列表的数据
    },
    getYao(val) {
      this.$get(
        baseUrl.mbIp + "/api/His/GetMedicineList/" + this.queryString
      ).then((res) => {
        var arr = [];
        for (var i in res.Data) {
          arr.push(res.Data[i]);
          arr[i].value = arr[i].drug_name;
        }
        this.restaurants = arr;
      });
    },
    handleSelect(item) {},
  },
};
</script>
  
  <style scoped lang="scss">
.jktjb {
  .top {
    padding: 10px 20px;
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
  }
  .tab1 {
    tr {
      width: 100%;
      th {
        text-align: center;
        color: #000;
        background-color: rgb(250, 250, 250);
      }
      td {
        padding: 10px;
      }
    }
  }
  .box {
    padding: 10px 250px;
    background-color: rgb(250, 250, 250);
    margin: 10px 0;
  }
}
</style>